import request from "./request.js"

//新增评论记录
export function addComment(data){
	return request({url: "/comment/save",method:"post",data})
}
//获取评价列表
export function pageComment(data){
	return request({url: '/comment/page',method:'get',data})
}
//评价
export function setComment(data){
	return request({url: '/comment/set_comment',method:'post',data})
}
//根据任务id获取评价
export function getCommentPageByTask(data){
	return request({url: '/comment/page_by_task_id',method: 'get',data})
}